//
//  ZQFriendThrendViewController.m
//  BuDeJie
//
//  Created by 仲琦 on 16/3/31.
//  Copyright © 2016年 仲琦. All rights reserved.
//

#import "ZQFriendThrendViewController.h"
#import "ZQloginRegisterViewController.h"
@interface ZQFriendThrendViewController ()

@end

@implementation ZQFriendThrendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    [self setNavigationitem];
    
}

- (void)setNavigationitem
{
    UIBarButtonItem *item = [UIBarButtonItem itemWithImage:[UIImage imageNamed:@"friendsRecommentIcon"] highImage:[UIImage imageNamed:@"friendsRecommentIcon-click"] target:self action:@selector(leftButton)];
    self.navigationItem.leftBarButtonItem = item;
    
    //注意 设置导航条的title
    //self.title = @"我的关注";
    self.navigationItem.title = @"我的关注";
    
}
- (IBAction)loginRegister {
    
    ZQloginRegisterViewController *lrVC = [[ZQloginRegisterViewController alloc]initWithNibName:@"ZQloginRegisterViewController" bundle:nil];
    
    [self presentViewController:lrVC animated:YES completion:nil];
    
    
}

- (void)leftButton
{
    NSLog(@"点击了推荐关注");
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
